package com.why.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

/**
 * (Communication)实体类
 *
 * @author makejava
 * @since 2023-05-24 21:09:40
 */
@Data
public class Communication {

    private static final long serialVersionUID = 232329363942287850L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 学生ID
     */
    private Long studentid;
    /**
     * 学生姓名
     */
    private String studentname;
    /**
     * 内容
     */
    private String content;
    /**
     * 发布时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date addtime;

}
